package com.jsy.mini12306.ticketsales.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jsy.mini12306.common.entity.Train;
import com.jsy.mini12306.common.entity.TrainCalendar;

import java.time.LocalDate;

/**
 * 列车行驶日期图(TrainCalendar)表服务接口
 *
 * @author: SongyangJi
 * @since: 2021-09-02 21:10:06
 * @description:
 */

public interface TrainCalendarService extends IService<TrainCalendar> {

    boolean isWorking(int trainId, LocalDate date);

}
